package com.wdf.rule;

import com.gitee.starblues.loader.DevelopmentMode;
import com.gitee.starblues.loader.launcher.SpringBootstrap;
import com.gitee.starblues.loader.launcher.SpringMainBootstrap;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author wangdingfu
 * @date 2023-11-14 14:07:09
 */
@SpringBootApplication
public class FuRulePluginAdminApplication implements SpringBootstrap {

    public static void main(String[] args) {
        SpringMainBootstrap.launch(FuRulePluginAdminApplication.class, args);
    }

    @Override
    public void run(String[] args) throws Exception {
        // 在该实现方法中, 和SpringBoot使用方式一致
        SpringApplication.run(FuRulePluginAdminApplication.class, args);
    }


    @Override
    public String developmentMode() {
        // 指定为共享模式
        return DevelopmentMode.COEXIST;
    }
}
